package com.chagee.store.operation.server.event.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chagee.store.operation.api.request.StoreInfoRequest;
import com.chagee.store.operation.server.entity.StoreOrderDeviceDO;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName StoreWorkOrderEquipmentMapper  //类名称
 * @Description: 类描述
 * @Author: Jacky-zhan	//作者
 * @CreateDate: 2024/3/29 13:51	//创建时间
 * @UpdateUser: Jacky-zhan
 * @UpdateDate: 2024/3/29 13:51	//更新时间
 * @UpdateRemark: 更新的信息
 * @Version: 1.0    //版本号
 */
@Mapper
public interface StoreOrderDeviceMapper extends BaseMapper<StoreOrderDeviceDO> {

	List<StoreOrderDeviceDO> queryRecentlyList(@Param("request") StoreInfoRequest request);

	/**
	 * 查询门店下的未过期的工单编码对用的设备信息
	 *
	 * @param workOrderNumber 工单编码
	 * @return list
	 */
    List<StoreOrderDeviceDO> getDeviceList(String workOrderNumber);
}
